From: Lars Ingebrigtsen Date: Tue, 18 Aug 2020 21:05:22 +0000 (+0200) Subject: Remove some compat code from woman.el X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~5757 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=5a6ed46c74dae55092d43d0078b86e5158cdc717;p=emacs.git Remove some compat code from woman.el * lisp/woman.el (woman-fontify): Don't check for functions always defined. --- diff --git a/lisp/woman.el b/lisp/woman.el index c0e27c57077..891a1263ace 100644 --- a/lisp/woman.el +++ b/lisp/woman.el @@ -914,8 +914,8 @@ Troff emulation is experimental and largely untested. :group 'faces) (defcustom woman-fontify - (or (and (fboundp 'display-color-p) (display-color-p)) - (and (fboundp 'display-graphic-p) (display-graphic-p)) + (or (display-color-p) + (display-graphic-p) (x-display-color-p)) "If non-nil then WoMan assumes that face support is available. It defaults to a non-nil value if the display supports either colors